esc to dismiss
ObsidianHtml/Tabs-Mode
Implementing Latex
Important

This is the documentation for v3.5.0 and lower, for documentation for v4.0.0 and higher, see https://obsidian-html.github.io/

Implementing Latex

At the moment only the math based latex is enabled. (It's hard to find what Obsidian supports other than the math based latex.)

Inline Latex (single $)

A nice equation for testing is $\int_0^{2\pi} d\theta x+e^{-i\theta}$

I can also use symbols like $\pi$ inside of a line.

A nice equation for testing is \(\int_0^{2\pi} d\theta x+e^{-i\theta}\)

I can also use symbols like \(\pi\) inside of a line.

Centered block latex (double $)

$$
\begin
{vmatrix}a & b \\ c & d
\end
{vmatrix}=ad-bc
$$
\[ \begin {vmatrix}a & b \\ c & d \end {vmatrix}=ad-bc \]

Centernot

$$
\begin{array}{c}
  A \not\longrightarrow B\\
  A \centernot\longrightarrow B
\end{array}
$$
\[ \begin{array}{c} A \not\longrightarrow B\\ A \centernot\longrightarrow B \end{array} \]

Double centered block

$$
\text{block 1}
$$
$$
\text{block 2}
$$
\[ \text{block 1} $$ $$ \text{block 2} \]